package sh.wn36.vehiclemanage.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import sh.wn36.vehiclemanage.entity.Dictionary;
import com.baomidou.mybatisplus.extension.service.IService;
import sh.wn36.vehiclemanage.xzh.DictionaryInfo;
import sh.wn36.vehiclemanage.xzh.RepairInfo;

import java.util.List;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xk
 * @since 2021-04-26
 */
public interface DictionaryService extends IService<Dictionary> {

    List<Dictionary> listById();

    List<Dictionary> listByIdInsu();

    List<Dictionary> listByIdRefuel();
    List<String> getLargeClassificationList( );

    Dictionary getByText(String largeClassification);

    List<Dictionary> getListByPidAndLev(Integer id,Integer lev);




    List<Dictionary> getListBySonPid(Integer id);

    List<Dictionary> getListByPid(Integer id);
    List<Dictionary> getPid(int i);

    public Dictionary finddept(String dname);

    IPage<DictionaryInfo> getList(Page<DictionaryInfo> page);

    IPage<DictionaryInfo> getListByMini(Page<DictionaryInfo> page,String miniClassification);

    IPage<DictionaryInfo> getListByMiddle(Page<DictionaryInfo> page,String middleClassification);

    IPage<DictionaryInfo> getListByLarge(Page<DictionaryInfo> page,String largeClassification);

    List<DictionaryInfo> getListByLev(Integer lev);
}
